package 设计模式.第1部分.第7章_代理模式.v2;

public class Proxy {
	SchoolGirl mm;

	public Proxy(SchoolGirl mm) {
		this.mm = mm;
	}

	public void GiveDolls() {
		System.out.println(mm.getName() + "送你洋娃娃");
	}

	public void GiveFlowers() {
		System.out.println(mm.getName() + "送你鲜花");
	}

	public void GiveChocolate() {
		System.out.println(mm.getName() + "送你巧克力");
	}
}
